/*
 * @Author: liutongchao 1923236391@qq.com
 * @Date: 2023-04-25 17:16:48
 * @LastEditors: liutongchao 1923236391@qq.com
 * @LastEditTime: 2023-06-25 15:22:49
 * @FilePath: \greenbeeadmin\main.go
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package main

import (
	greenbee "greenbeeadmin/controllers/greenbee"
	_ "greenbeeadmin/routers"

	beego "github.com/beego/beego/v2/server/web"
)

func main() {
	//自定义错误页面
	beego.ErrorController(&greenbee.ErrorController{})
	//开启orm错误提示
	//orm.Debug = true
	beego.Run()
}
